from xml.dom import minidom

class main():
	doc = minidom.parse("test.eywx")
	links = doc.getElementsByTagName('Links')
	for i in links:
		proplist = i.getElementsByTagName('Property')
		num = 0
		properties = {}
		properties_array[num] = properties
		for p in proplist:
			properties["name"] = p.getAttribute("name")
			properties["value"] =  p.toxml()
			properties_array[num] = properties
	for i in properties_array:
		print i